const queryType = [
  {
    value: "eq",
    label: "="
  },
  {
    value: "neq",
    label: "!="
  },
  {
    value: "gt",
    label: ">"
  },
  {
    value: "gtq",
    label: ">="
  },
  {
    value: "lt",
    label: "<"
  },
  {
    value: "ltq",
    label: "<="
  },
  {
    value: "like",
    label: "LIKE"
  },
  {
    value: "in",
    label: "IN"
  },
  {
    value: "ont in",
    label: "ONT IN"
  },
  {
    value: "between",
    label: "BETWEEN"
  }
];

const viewType = [
  {
    value: "text",
    label: "输入框"
  },
  {
    value: "password",
    label: "密码框"
  },
  {
    value: "textarea",
    label: "文本域"
  },
  {
    value: "number",
    label: "数字输入框"
  },
  {
    value: "tab",
    label: "标签输入框"
  },
  {
    value: "switch",
    label: "开关"
  },
  {
    value: "select",
    label: "下拉框"
  },
  {
    value: "radio",
    label: "单选框"
  },
  {
    value: "checkbox",
    label: "复选框"
  },
  {
    value: "datePicker",
    label: "日期选择器"
  },
  {
    value: "dateTimePicker",
    label: "时间选择器"
  },
  {
    value: "upload",
    label: "上传组件"
  },
  {
    value: "editor",
    label: "富文本控件"
  }
];

const crudType = [
  {
    value: "single",
    label: "单表增删改查"
  },
  {
    value: "tree",
    label: "树形增删改查"
  }
];

export { queryType, viewType, crudType };
